Computer Configuration > Administrative Templates > Firefox > Permissions > Location
Both
HKLM\Software\Policies\Mozilla\Firefox\Permissions\Location
If this policy is enabled, location preferences cannot be changed by the user. If this policy is disabled or not configured, the user can change location preferences.